<?php
require_once '../func/admin_func.php';
$admin = new admin();
?>
<div id="main-wrapper">
	<div id="main-content">
		<div class="other-box yellow-box ui-corner-all">
			<div class="cont tooltip ui-corner-all">
				<h3>欢迎使用课程签到系统后台管理!</h3>
				<div class="daohui_info">
					<h1>共有 &nbsp;<?php echo $admin->info_count('teacher');?>&nbsp; 条教师信息。</h1>
					<h1>共有 &nbsp;<?php echo $admin->info_count('student');?>&nbsp; 条学生信息。</h1>
					<h1>共有 &nbsp;<?php echo $admin->info_count('card');?>&nbsp; 条身份证信息。</h1>
					<h1>共有课程信息：&nbsp;<?php echo $admin->info_count('course');?>&nbsp;条</h1>
				</div>
			</div>
		</div>
	</div>
</div>
